#!/bin/bash

apt update
apt install aria2 xterm python3-pip python3-tk
pip3 install youtube-dl
mkdir ~/.uvd
cp outPath.txt ~/.uvd
chmod 777 ~/.uvd
cp uvd.png /usr/share/pixmaps/
cp uvd /usr/sbin
cp url_grabber /usr/sbin
mkdir /usr/share/uvd
cp LICENSE.txt /usr/share/uvd
cp README.txt /usr/share/uvd
cp uvd.desktop /usr/share/applications/
chmod +x /usr/share/applications/uvd.desktop
chmod +x /usr/sbin/uvd
chmod +x /usr/sbin/url_grabber
